package com.ls.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ls.entity.SysUser;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

/**
 * <p>
 * 用户表 Mapper 接口
 * </p>
 *
 * @author TangQuanBin
 * @since 2019-09-13
 */
@Mapper
@Component
public interface SysUserMapper extends BaseMapper<SysUser> {

    /**
     * 根据账号查询用户
     * @param account
     * @return SysUser
     */
    SysUser getUserByAccount(String account);


}
